package com.medical.acc.mapper;

import com.medical.acc.model.AccountRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface AccountRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(AccountRecord record);

    void updateForRemark(Map<String, String> params);

    AccountRecord selectForLast(String userId);

    List<AccountRecord> selectByUser(String userId);

    List<Map<String, Object>> selectByTime(String start, String end);
}